﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PrjSerails
{
    public partial class TestFM : Form
    {
        public TestFM()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Model.ARCHINFO arch = new Db.BLL.ARCHINFO().GetModelByLast();
            arch.ID = arch.ID + 1;
            arch.POSITIONCODE = "00010002";
            new Db.BLL.ARCHINFO().Add(arch);
        }
    }
}
